#include <QApplication>
#include <QGLWidget>

#include "Game.h"

#include "MapManager.h"
#include "UIManager.h"

int main(int argc, char** argv)
{
   QApplication app(argc, argv);

   UIManager * uiManager = UIManager::getInstance();
   if(uiManager != NULL)
   {
      int mainOpenglWindow = uiManager->createOglWindow();
      ((QGLWidget *)(uiManager->getWindow(mainOpenglWindow)))->show();

      return app.exec();
   }
   return -1;
}
